package com.ruoyi.project.jiaqin.val.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 分类属性值对象 class_attr_val
 *
 * @author admin
 * @date 2020-12-21
 */
public class ClassAttrVal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 属性值ID */
    @Excel(name = "属性值ID")
    private String id;

    /** 分类ID */
    @Excel(name = "分类ID")
    private String quotationClassId;
    /** 分类ID */
    @Excel(name = "分类名")
    private String quotationClassName;

    /** 属性名ID */
    @Excel(name = "属性名ID")
    private String attrKeyId;

    /** 属性名ID */
    @Excel(name = "属性名")
    private String attrName;


    /** 属性编码 */
    @Excel(name = "属性编码")
    private Long attrCode;

    /** 属性值 */
    @Excel(name = "属性值")
    private String attrVal;

    public String getQuotationClassName() {
        return quotationClassName;
    }

    public void setQuotationClassName(String quotationClassName) {
        this.quotationClassName = quotationClassName;
    }

    public String getAttrName() {
        return attrName;
    }

    public void setAttrName(String attrName) {
        this.attrName = attrName;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setQuotationClassId(String quotationClassId)
    {
        this.quotationClassId = quotationClassId;
    }

    public String getQuotationClassId()
    {
        return quotationClassId;
    }
    public void setAttrKeyId(String attrKeyId)
    {
        this.attrKeyId = attrKeyId;
    }

    public String getAttrKeyId()
    {
        return attrKeyId;
    }
    public void setAttrCode(Long attrCode)
    {
        this.attrCode = attrCode;
    }

    public Long getAttrCode()
    {
        return attrCode;
    }
    public void setAttrVal(String attrVal)
    {
        this.attrVal = attrVal;
    }

    public String getAttrVal()
    {
        return attrVal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("quotationClassId", getQuotationClassId())
            .append("attrKeyId", getAttrKeyId())
            .append("attrCode", getAttrCode())
            .append("attrVal", getAttrVal())
            .toString();
    }
}
